package com.fit.spring.boot.proxy.interceptor.extension;

import java.util.Map;

import org.aopalliance.intercept.MethodInterceptor;

/**
 * 方法配置对象
 * @author hcl
 *
 */
public class MethodConfig {
	
	
	/**
	 * 方法参数
	 */
	private Map<String,Object> param;

	/**
	 * 拦截器
	 */
	private MethodInterceptor methodInterceptor;

	
	
	
	public MethodConfig(MethodInterceptor methodInterceptor,Map<String, Object> param) {
		super();
		this.param = param;
		this.methodInterceptor = methodInterceptor;
	}

	public Map<String, Object> getParam() {
		return param;
	}

	public void setParam(Map<String, Object> param) {
		this.param = param;
	}

	public MethodInterceptor getMethodInterceptor() {
		return methodInterceptor;
	}

	public void setMethodInterceptor(MethodInterceptor methodInterceptor) {
		this.methodInterceptor = methodInterceptor;
	}
	
}
